projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dbfa88
)
gtkcombobox: Use symbolic names for button numbers
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Wed, 25 Jan 2012 17:24:02 +0000
(18:24 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Fri, 27 Jan 2012 08:47:43 +0000
(09:47 +0100)
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index 4d7fd8add4f7a6429f3ec47225ae55d57640794b..7e5ecabf7f09cee69e486a0b503834c4dcae02fd 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-3222,7
+3222,7
@@
gtk_combo_box_menu_button_press (GtkWidget *widget,
GtkComboBoxPrivate *priv = combo_box->priv;
if (GTK_IS_MENU (priv->popup_widget) &&
- event->type == GDK_BUTTON_PRESS && event->button ==
1
)
+ event->type == GDK_BUTTON_PRESS && event->button ==
GDK_BUTTON_PRIMARY
)
{
if (priv->focus_on_click &&
!gtk_widget_has_focus (priv->button))